const { Sequelize } = require("sequelize");

//连接的数据库，用户名，密码，指定数据库驱动
const sequelize = new Sequelize("nodejs_express_example", "root", "", {
  dialect: "mysql",
  host: "127.0.0.1", //默认值
  port: 3306,
});

module.exports = sequelize;